package com.smartticket.jeju.controller.user;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.support.SessionStatus;

@Controller
@RequestMapping("/logout")
public class Logout 
{
	@RequestMapping
	public String action(SessionStatus sessionStatus)
	{
		sessionStatus.setComplete();
		System.out.println("LogOut");
		return "redirect:/main";
	}
}
